import '@/css/element.scss';
import {
    ElRow, ElCol, ElDialog, ElIcon, ElTable, ElTableColumn, ElForm, ElFormItem, ElButton, ElInput,
    ElInputNumber, ElCheckbox, ElMessageBox, ElMessage, ElRadioGroup, ElRadio,
} from 'element-plus';
import { App } from 'vue';

export function useElement(app: App<Element>) {
    app.use(ElRow);
    app.use(ElCol);
    app.use(ElIcon);
    app.use(ElDialog);
    app.use(ElTable);
    app.use(ElTableColumn);
    app.use(ElForm);
    app.use(ElFormItem);
    app.use(ElInput);
    app.use(ElInputNumber);
    app.use(ElButton);
    app.use(ElCheckbox);
    app.use(ElRadioGroup);
    app.use(ElRadio);
    app.use(ElMessageBox);
    app.use(ElMessage);
}
